#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;
#include<vector>
int main()
{
    int n = 0, m = 0, q = 0;
    m = 8, n = 7;
    vector<vector<int>> a(n + 1, vector<int>(m + 1,9));
    for (int i = 0; i < n + 1; i++)
    {
        for (int j = 0; j < m; j++)
        {
            cout << a[i][j] << " ";
        }
        cout << endl;
    }
    vector<vector<long long>> dp(n + 1, vector<long long>(m + 1));
}